'use strict';


// Declare app level module which depends on filters, and services
angular.module('spf2t', ['d3', 'spf2t.filters', 'spf2t.services', 'spf2t.directives', 'spf2t.controllers']).
config(['$routeProvider', function($routeProvider) {
  $routeProvider.when('/view1', {templateUrl: 'partials/partial1.html', controller: 'MyCtrl1'});
  $routeProvider.when('/view2', {templateUrl: 'partials/partial2.html', controller: 'MyCtrl2'});
  $routeProvider.when('/spf2t', {templateUrl: 'partials/spf2t.html', controller: 'spf2tCtrl'});
  $routeProvider.otherwise({redirectTo: '/view1'});
}]);

// setup dependency injection
angular.module('d3', []);
angular.module('spf2t.directives', ['d3']);
